package stu.xjtu.subject.domain.service;


import stu.xjtu.subject.domain.entity.SubjectCategoryBO;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface SubjectCategoryDomainService {

    void addSubjectCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询岗位大类
     *
     * @return
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    Boolean update(SubjectCategoryBO subjectCategoryBO);

    Boolean delete(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO) throws ExecutionException, InterruptedException;
}
